package com.hgkj.cloud.base.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TenantFrameworks implements Serializable {
    private static final long serialVersionUID = 1695872192967898642L;
    private Long id;

    private String name;

    private Long tenant_id;

    private Long father_id;

    private String whole_name;

    private Integer enabled = 1;

    private Date create_date;

    private String channel_id;
    private String tree_path;

    private Integer is_auto;
    private Integer trade;
    // 普通用户总数
    private Integer userCount;
    private Integer scl;
    private boolean hasChildren = true;
    private Integer userMode;

    public Integer getUserMode() {
        return userMode;
    }

    public void setUserMode(Integer userMode) {
        this.userMode = userMode;
    }

    public String getTree_path() {
        return tree_path;
    }

    public void setTree_path(String tree_path) {
        this.tree_path = tree_path;
    }

    public Integer getScl() {
        return scl;
    }

    public void setScl(Integer scl) {
        this.scl = scl;
    }

    private List<TenantFrameworks> children = new ArrayList<>();

    public Integer getTrade() {
        return trade;
    }

    public void setTrade(Integer trade) {
        this.trade = trade;
    }

    public boolean isHasChildren() {
        return hasChildren;
    }

    public void setHasChildren(boolean hasChildren) {
        this.hasChildren = hasChildren;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(Long tenant_id) {
        this.tenant_id = tenant_id;
    }

    public Long getFather_id() {
        return father_id;
    }

    public void setFather_id(Long father_id) {
        this.father_id = father_id;
    }

    public String getWhole_name() {
        return whole_name;
    }

    public void setWhole_name(String whole_name) {
        this.whole_name = whole_name == null ? null : whole_name.trim();
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public Date getCreate_date() {
        return create_date;
    }

    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }

    public List<TenantFrameworks> getChildren() {
        return children;
    }

    public void setChildren(List<TenantFrameworks> children) {
        this.children = children;
    }

    public String getChannel_id() {
        return channel_id;
    }

    public void setChannel_id(String channel_id) {
        this.channel_id = channel_id;
    }

    public Integer getIs_auto() {
        return is_auto;
    }

    public void setIs_auto(Integer is_auto) {
        this.is_auto = is_auto;
    }

    public Integer getUserCount() {
        return userCount;
    }

    public void setUserCount(Integer userCount) {
        this.userCount = userCount;
    }
}